package Ranking;
import java.util.Comparator;


public class SubCom implements Comparator<Subway1>{
 
    @Override
    public int compare(Subway1 o1, Subway1 o2) {
        return (o1.dis<o2.dis ? -1 : (o1==o2 ? 0 : 1));
    }
}
